﻿using System;
using Newtonsoft.Json;
using System.Collections.Generic;

namespace Models
{
    //users
    [Serializable]
    public class Customer
    {
        /// <summary>
        /// 用户表
        /// </summary>
        public virtual int Id { get; set; }
        /// <summary>
        /// 昵称
        /// </summary>
        public virtual string NickName { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public virtual string UserName { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        [JsonIgnore]
        public virtual string Password { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public virtual IList<Orders> OrderList { get; set; }
    }
}